fixed hiearchi class