polishing save/restore process