added transitions for error lines and regr line and regr line