getGameState bugfix