cleanup push function