convert eref to xref