fix ChatMessage