fixed whitespace issue on export