fixed channel bugs (publicKeysHandler)