minor fixes in ChatMessage bean