fix error on home page