fix the duplication in export.