fix settings model