fix migrate_2_1_7 server script