progressbar correction