hierarchy correction