fixed bug in node