fix compatibility with bitcoind cli