fixing partial progressbar