fixed setup for gamestate