fixed some broken references