Defect 1: fix progress bar.