fixed pauseGame