reference fixup