printf contition to TOS_NODE_ID added