fixed error while viewing hom