Fix transaction synchronization issue