progress bar goes red if error