after hook to clear_cache