finish index page