fixed cursor error when unsubscribing from a channel