fixed settings bug