referencing wrong var
Merge pull request #5 from acockell/patch-8

referencing wrong var