remove references to old index