fixed gamestate module