fix bug in fasta output