fixed AgentChannelManager bug