fix undefined variable
Merge pull request #1 from BoldBigflank/patch-1

fix undefined variable