gameover restart bug fix