change input from text to number