fixed the index-seeding