index page bug fixed