fixed misnamed variable