fix multiple avatar parsing in AvatarManager

closes #1792