Fix seeding bug