Fix misnamed var