support old redis setting