Change ofPtr to normal pointer