fix finish on progress bar