fix raycast service in mapping