fix dpointer dependency & typos