fixed bug in game reset