Fixed issue with progress bar