User upload avatar bug fixed