fix cache temporary dir