Small bug in ChatManager