progressbar: fixing bug