fix: out of bounds error could happen when deleting from the channel key slice >_<