fix bug , to set the p_conf->num