fix exporting legacy