correct error report to stdout