the datapath extraction is not accurate, so the report_hierarchy must cope with errors