Update migrate_par.py

fixed at end 2.