check merging