fixed error on homepage