fixed IsNumber test