fix guild_codes in quest