progress bar fixes