fix cache event dependency