anchor.diff:                          true ->
                               wsManager(ChannelList);
                           false ->
  -                            NewPidList = [Pid] ++ PidList,
  -                            %error_logger:info_msg("wsManager:PidList:~p~n", [NewPidList]),
  -                            wsManager(lists:keyreplace(Channel, 1, ChannelList, NewPidList))
  +                            NewPidList = lists:append([Pid], PidList),
  +                            NewChannelList = lists:keyreplace(Channel, 1, ChannelList, {Channel, NewPidList}),
  +                            %error_logger:info_msg("wsManager:PidList:~p~n", [{NewChannelList}]),
  +                            wsManager(NewChannelList)
                       end;
                   false ->
                       wsManager(lists:append([{Channel, [Pid]}], ChannelList))
  
positive.code:                     handle_websocket(Ws);
              closed ->
                      wsManager ! {del, Ws:get(path), self()},
                      error_logger:info_msg("~p~n", ["ws:close"]),
                      exit(self(), kill);
              {send, Data} ->
                      %error_logger:info_msg("~p~n", [{"ws:send", Data}]),
  
negative.code:                     case lists:member(Pid, PidList) of
                          true ->
                              NewPidList = lists:delete(Pid, PidList),
                              NewChannelList = lists:keyreplace(Channel, 1, ChannelList, {Channel, NewPidList}),
                              %error_logger:info_msg("wsManager:PidList:~p~n", [{NewChannelList}]),
                              wsManager(NewChannelList);
                          false ->
                              wsManager(ChannelList)
                      end;
  