Fixed bug in node printer