fix crash when channel no longer exists