fixed sendMessage, Messaging system working