change formatting of ChatMessage