visitor: enumerate nodes after accumulating
strings: fix uninitialized variable usage