UploadController fix