bug fixed for cacheFind