fixed intersect iflat bug