finish index view