fix previous commit on machine name validation