fixed reftyping-frame for the change on tgtmap2perm.