use name manager in DomComponent