fixing regenerated trx