fixes issues of unlimited search while starting without cache file