nodeId buffer overflow bugfix