added leaveChannel