fix the avatar in user detail page