small changes to cache