fixing bug in building genbank index.