Fix smex can't read cache.