fixed issue with index page.