Fix number validation