fixes pop and push method names