Fix the implementation error for KMemCacher.