destroy index page