change back entityHierarchyForEntity