fixed html errors in search results