undefined variable fix
Merge pull request #65 from mialinx/master

undefined variable fix