before merge delete