fixed exporting