Bug fix for export graph