fixed "transactions" bug