db.settings should not reference the global defalt_settings object.
See fe431a8