Fix some bugs in seeds