Fix a bug of  numeric validation