fix for redis caching
Merge pull request #1 from sh84/fix_all

fix for redis caching