fix get avatar