fix for support xref field type in aggregates