error output format fixed