fix to hierarchy