fix old compiler errors in nodecontroller.cc