small fixes
Merge pull request #878 from bitpay/signatures

small fixes