fix_ct2dot_bug