Fixed gamemode issues