fixed the seeding bug, added relations to category model