spoke too soon, but found and corrected a bug in tree