add kind to sendmessage