Fix name validation