fixed html error in text search