Use correct variable
Merge pull request #93 from torhve/fixoldpg

Use correct variable