fix byName for guilds