modify ChatMessage.java