fixed profile name validation