Fixed settings bug