Fix for progress bar.