fix segfault (channel key)