fix-tgc-file