fix structure exporter not working