fix progress bar.