fixed  issue, and introduced treeview in search results