fixed number input range bug