fix a few refs