fix the crash caused by node test part
Merge pull request #959 from richardcypher/fixcrash

[test]fix the crash caused by node test part