fixed testnet errors