Deleting old references