Fixing offline cache