fix upload_file success