fixed another bug in unsubscribe()