Vuln nrml export2

Vulnerability: fix some issue on nrml export.