repair index page