fix progress bar percent display