sync before merge