minor change to tree parser