manual fileupload fix