The structure of 16O and 17O(p, d)16O reaction