change input type to number