fix wrong variable name
Merge pull request #165 from pall-valmundsson/fixdebug

fix wrong variable name