Fix settings file