make validation depend on clpb_validation flag