fixed a small bug with extra pushes to datastore