fixed bugs in seed file