Fixing bug in index page.