fixed loading settings file