Fix misnamed variable