fix added tx.Rollback in err handling