cleanup the index page