lil fix in searchPasteMode