Alan fixed Hierarchy bug