duplicated uploading bug fix