fixing appcache issues