seed and migration fixes