reorganize the ChannelHandlers