fix fail on index page