fixes for signrawtransaction