clean up Simple export
writer refactor