fixed sync_export bug