Index page's bug fix