fix redis variable.