resolve upload avatar