fixed avatars bug