Fix bugs in seeds.