fix an error: redis cache is get but not used