fix redis repo errors