fixed tree bug #74