remove strange head duplication from merge