fixed getting all nodes