need to fix lru.cpp and opt.cpp -> invisible logical error