fix cache & script