correcting progress bar data