fixed node attribute setting and value instantiation in a node