fix file upload error after duplication =