correction on cell type during save process