turning off error reporting