Index page errors fixed