fixed bug: avatar deleted when uploading info