fix n so that it unfolds line containing search results