Fixed bugs in seed file