change error reporting