Transaction Fix

Fix the transaction issue.