searc and cache data bug fixess