Fix problem with numeric inputs