fix progress bug