fix ResourceNode overload to take new struct