Fixes LRU cache, fixes #169