search-mode modified