correct the size of words in diagrams