modified RedisManager