split tags correctly in search-tab