Fixing upload progress bar