fix for settings file