fixing issues with wayGeometry