clearing push, swapping pointers in progress