Caching Warning Fix

Fixed warnings generated when caching set to 0