repaired text-search