cw.lua: fix a FIXME: use list.elems rather than ipairs to remove dummy variables.