fix typos concerning "hierarchy"