removing old package pointers