cleaning up index view.