error reporting changes