removed console log for pubsub