fix rendering values for nodes with attributes