fixed endless gameover loops