settings bug fixed