settings bug fix