fix the pointer