fixed change in pubsub resubscription