fixing CMR export