Fixed a incorrect setting variable.

The setting variable name did not match the variable name used in the code.