Fixed migrateConfig