added terminal_printer 'normalize_error' method