fix f_valid_model; exteded f_v_helper_head