Code modified to use nodeID of type string
Fixed a bug to stop errors during mis-delivered packets