fix cache problem on ipad