Fixes #888 rebuildsettings() should be removed.