fixed bug in NodeEx.lua