Transactions bug corrected