bug fixed on index page