Correct a progress bar issue