fix a bug of FastaReader