fixed game over bug