fix the upload avatar