name validation improved