fix the game over conditional