Fixes #76, support nodeIdCompat