remove redis dependence