fixes hierarchical error from the previous commit