fixes #17
bug with moving tree to another tree