sendMessage bug