fixed input and output order of get-all-cpts-of-nodes to match