fix for appcache