fix name validation