change ReportField to use warnings.warn