add NestedSet Behavior
Delete reference in function