Fixed export of table