Fixed a typo in printNode visit