fix to cachedResources