added a flag to void messing caches.