fix no caching working for offline use