pubsub not working