Improve tree types
Fix bug in tree types (Seting Children of node coused recursive based ex)