fix sendTx for iOS7