Fixed some stuff

fixed errors on index page