Fixed hierarchy build issue