fixed issues with testnet and createTx