Fixing numeric validation