fix eol searcher logic