remove all the pointers