fixed issue with numeric input