Fixed Typo + Undeclared variables within cache getters.
Merge pull request #750 from doertedev/master

Fixed Typo + Undeclared variables within cache getters.