cleanup old references