uncomment setResourceNode