get the right index page