fix 'Can't call method "parse" on an undefined value' error from CDR format refactor