anchor.diff:      Nms = [tolower(Nm) || Nm <- Names],
       add_ip_bynms(Byname, Type, IP, Nms, Names),
       Key = {Type, IP},
  -    case ets:lookup(Byaddr, Key) of
  -        [{_Key, Names_0}] ->
  +    try ets:lookup_element(Byaddr, Key, 2) of
  +        Names_0 ->
               %% Delete IP address from byname entries
               NmsSet = % Set of new tolower(Name)s
                   lists:foldl(
  
positive.code: 	    {reply, ok, State};
  
  	{add_socks_methods, Ls} -> 
  	    [{_,As}] = ets:lookup(Db, socks5_methods),
  	    As1 = lists_subtract(As, Ls),
  	    ets:insert(Db, {socks5_methods, As1 ++ Ls}),
  	    {reply, ok, State};
  	    
  	{del_socks_methods, Ls} ->
  	    [{_,As}] = ets:lookup(Db, socks5_methods),
  	    As1 = lists_subtract(As, Ls),
  	    case lists:member(none, As1) of
  		false -> ets:insert(Db, {socks5_methods, As1 ++ [none]});
  
negative.code: 	    case res_check_option(Opt, El) of
  		true ->
  		    Optname = res_optname(Opt),
  		    Es = ets:lookup_element(Db, Optname, 2),
  		    NewEs = case Op of
  				ins -> [E | lists_delete(E, Es)];
  				add -> lists_delete(E, Es) ++ El;
  