fix doc for getNodes