Fixed bugs on home page