Fixes #114 (wrong variable name)