Resolved issue with progress bar