clean before merge