Fixed id autogeneration errors in node.