fixed a problem with multiple operations in a transaction.