fix sign_tx