fixing error on home page