minor change to intersectPath