Fixed incorrect variable naming