add end of search tag