bug fix for input number cannot input zero