fixed broken API for sendText() - const missing