number input bug fix