exporting bug