Fixed exporting of legacy settings