Fixing settings file.