Fix possible number detection