SwitchYard: fixed setName method