fix empty serch string for highlighting