fixed bugs and seeded