force is_number to 0/1