correctly escape qcdm-frame