fixed bug with killing the game