fixing displaying of tree names