cleanning up settings file