fix broken progress bar