Fixed Typo + Undeclared variables within cache getters.