progress bar fix