bugfix for settings