fix variable naming that causes advanced compiler to fail
Merge pull request #896 from Wu-Hao/master

fix variable naming that causes advanced compiler to fail