add "word-break" and "max-width" to messages and names