fixed error with pushing repeatedly.