fix cache problem