finish merging