improve progressbar module