Fixed settings performance issue.