Fixing deprecated variable access warning
Merge pull request #406 from corycomer/master

Fix deprecated variable access warning