Corrected cache

Fixed fault in cache definition.