fix for new bitcoin protocol