correct profile_name validation