fixed problem with seeding