fixed the rest of the tei rendering