custom uploading fix