fix channels/channel
implement stop function