Fixed a seeding bug