fix error with game over