bug fix.  it was previously possible to write over the node output before returning it.