sendMessage bug update