clean up index view