fixed intersect check