db seeding bug fixes