progressbar fixes