fixed gamestate trying to create multiple states