fixed error on home page