fix decoding signed trn