remove sections not existing anymore from the index