simplify redis handling