clean up the index page