fixed extracting protocol numbers of empty strings