diff --git a/src/RNAseq_XGR.nf b/src/RNAseq_XGR.nf
index 85e26d26e89a15a51ca4bcadbf7c8d558e69921b..324154281c82cbf8d11c96bf285dde205ffe57de 100644
--- a/src/RNAseq_XGR.nf
+++ b/src/RNAseq_XGR.nf
@@ -149,12 +149,13 @@ workflow {
   }
   else {
     idx_genome = "${params.idx}"
-    Channel
+    /* Channel
       .fromPath( idx_genome )
       .ifEmpty { error "Cannot find idexed genome reference files" }
       .map{it -> [(it.baseName =~ /([^\.]*)/)[0][1], it]}
       .set { genome_indexed_input }
-    mapping_withindex(genome_indexed_input.collect(), fastp.out.fastq)
+    */
+    mapping_withindex(idx_genome, fastp.out.fastq)
     htseq_count(mapping_withindex.out.bam, gtf_file)
   }
 }