fixed gameover bug