remove the avatar function