tgf file exporter fixed