Fix the write file problem and the irregularity of feature C_21