Removing debug print and invalid node object argument.