added export_fig