Import transactions

Import transactions

Correctly import transactions and avoid errors