fixed the config migration (this time for real)