fix Wallet.getBalance