fix settings file