Bug fix: misnamed variable