fixed bug with tree generation- it was ignoring multiple comments in extra