Bugfix for settings page