remove overlaps