fix progress bar error