Corrected pushing loop, thanks @yutongluo