fix progress bar