fix for progress bar