validation flag fix.