fixed settings bug here