error reporting improvements