FIX remove reference cycles from Tree