Fixed undefined error in node.