fixed typo changed variable to setting