fix internet use without cache.json for relative filename