Transactions fix