improved unite tree binding