fixed errors on index page that caused validation issues