Fixes variable naming error