progressbar scale fix