fixed misnamed variable'