Fixed misnamed variable