make bitcoind work
minor corrections