Minor fix of uploader.