Remove the poorly TRANSACTION. Fix the exception handling.