Fix undefined variables in visitor meta routines
Merge pull request #1472 from JeffPyeBrook/pr-1471-fix-undefined-variables-in-visitor-meta

Fix undefined variables in visitor meta routines