Fix the fileupload issue