Fix opts in sendMessage