bugfix pycoin 0.25 to 0.51