adding support for input type=number