fixed bug on game restart