fix progressbar