fix typo in cache invalidate callbacks