fix: xref errors