fix toString() for tree node