fixing button for exporting