clean up of Transaction