repaire merge