changed error output format