fixed ray-line intersaction