small fixes

Fix "sendMessageEx"