bugfix on settings (cf issue #8)