Fixed a bug with the chat message