Fix seeding bugs