Fix the cfgupgrade
Fix nodes in migration