Fix settings file load issue