fix on ray-casting test