updated typo when PIN_TYPE is not defined