fixed end of game issue