Fixed bug on the index page.