Fixed an issue with indentation of code in export