fix progress bar (#218)