fix redis client bug