fix appcache for offline