fix upload simultaneousUploads bug