improve style of hierarchy management