- remove cache to memory code