fix the problem of saving type3 file

fix the problem of saving type3 file