fixed bugs on home page