support inputs with no type
added getNumberType