fix error in export