fix memory leaks on todays pushes