fixed compile error - forgot to define variable

Sorry about this bug, it's introduced by my pull request #215