fixed errors on home page