fix cdr export