adjusting error reporting