saving before merging