fix funky upload progress bar going backwards at the start of a second upload