cleaning to remove old references