fix redis issue