working testnet
small fixes