adapt to jedis 2.6