Fix possible redis issue