Fixed the settings file load