Fixes to progress bar