progress bar corrected