TEI metadata improvement