fix bitcoinj bug