Fix index page loading