fix bug in ErrorController cli error