fix a typo in get all nodes method