fixed tree diagrams and surrounding text