fix bug in LRU