make sure that nodePath.traverse always gets called