Fixed misnamed variable (Issue #29)