Minor fix in upload