fix search-snippet