added localu validation before setting