bug fix in redis pub/sub