intersect bug fix