removing merge residues