cleaning up export