minor fix for progress bar