remove the old index and atom