fixed tree names getting the full category name