finish sendText method