change accessor in Node.scala