fix displaying avatars