last save before rewrite