remove unnecessary part of query
add node details on click to UI