allow spaces and hyphens in name validation