fix some broken refs