turn on error reporting