Fix index page routing bug