removal of error_reporting checks