fixed bugs concerning LRU