fix to load setting files