fix uuid vs transaction_id logic