fix redis setting