fix avatar upload after multiupload patch #2