Fixed a bug in node