Fix to progress bar.