fix some cross-references