close tree