bitcoind fixes