Fix variable naming error