Fix for displaying progress bar