remove dependency on dxf