pass the first element of data node if it has only one