Fix ReferenceTable