fixed inserting new transaction on callback