removing extra indexes