fixing upload progress bar