Fixed bug when exporting and using default settings.