Fixed gamemode issue