fix progress bar for over 100%