Fixed the chatting mechanism