fix gamestate