Fix undefined variable
Merge pull request #536 from colemanw/quickFix

Fix undefined variable