Fixed push bug

Introduced by 64bc08f1c4bee42ff5a17b2d6ababb288fd8f209