fix avatar upload after multiupload patch