cityParamInsert function fixed