fixed redis pubsub handler