fix for undefined variable
Merge pull request #82 from tmihalik/1.3.0

fix for undefined variable