fixed bug on gameover