fixed bug when making fasta directory