Fix to fastq function