bug fix, forgot to load the preference and set the wrong variable.