progress bar correction