fix cache callback handler