core: fix string finder