Transactions factory fixed (?)