diff --git a/ui/nG6/pi1/analyzes/Demultiplex_ONT.tpl b/ui/nG6/pi1/analyzes/Demultiplex_ONT.tpl
index 0d6e8b5e404c8b4cd5e4eb5ba7da7077aee55655..301a04640fb3609ae3afd0419cede4e1e6e48023 100644
--- a/ui/nG6/pi1/analyzes/Demultiplex_ONT.tpl
+++ b/ui/nG6/pi1/analyzes/Demultiplex_ONT.tpl
@@ -54,10 +54,9 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
                 </thead>
                 <tbody>
                         {foreach from=$stats_metrics key=fastq item=fastq_metrics}
-                                {if $fastq != "unclassified_noBarcode"}<tr><th>{$fastq}</th>{/if}
-
+                                {if $fastq|regex_replace:"/unclassified/":"" == $fastq}<tr><th>{$fastq}</th>{/if}
                                 {foreach from=$stats_headers key=k item=stat}
-                                        {if $fastq == "unclassified_noBarcode"}
+                                        {if $fastq|regex_replace:"/unclassified/":"" !== $fastq}
                                                 {if $stat == "num_seqs"}{$totalNbSequenceswithoutBarcode=$totalNbSequenceswithoutBarcode+$fastq_metrics[$stat]|replace:',':''|replace:'.':','}{/if}
                                                 {if $stat == "sum_len"}{$totalLengthwithoutBarcode=$totalLengthwithoutBarcode+$fastq_metrics[$stat]|replace:',':''|replace:'.':','}{/if}
                                         {else}
@@ -74,7 +73,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
                                                 {if $stat == "N50"}{$totalN50=$totalN50+$fastq_metrics[$stat]|replace:',':''|replace:'.':','}{/if}
                                         {/if}
                                 {/foreach}
-                                {if $fastq != "unclassified_noBarcode"}</tr>{/if}
+                                {if $fastq|regex_replace:"/unclassified/":"" == $fastq}</tr>{/if}
                         {/foreach}
                 </tbody>
                 {if $analyse_results|@count > 1 }