fix issue with seeding when using config other than development.