removerd root nodes from the returned elements