fixes upload progress bar