fixes tree display