Fixed sendMessage