fix SXF v.3 geometry type check