Pass correct var. Fixes #9