fix bugs in logTransactionOpsRef