fix redis connection