node: add assertion and id check
0.2.16