if (hook._type !== "label" && hook.getEntity().dim === key) {
          names.key = name;
        }