fixed a settings bug.