modify the transaction bug