 
     @links = []
     for s in @sel
-      l = new BaseElements.Link(@ve.surface.baseRect,
-        s.shp.obj3d.linep,
-        tgtP, 0, 0, 5
-      )
+      l = new BaseElements.Link(@ve.surface.baseRect, s.shp.obj3d.linep, @tgtP,
+                                0, 0, 5)
       l.props.name = @ve.namemanager.getName("link")
       l.id.name = l.props.name
 

        l.endpoint[1] = ixs[0].object.userData
        l.ep_ifx[1] = ifname
        l.endpoint[1].links.push(l)
        @ve.surface.updateLink(l)
        l.ifInternetToWanLink()
        l.ifPhysicalToPlink()
        l.setEndpointData()
        @ve.sview.render()
        @ve.addie.update([l])
    else
      console.log "! multilink miss"


    @ve.sview.container.style.cursor = "default"
    @ve.sview.container.onmousedown = (eve) => @ve.sview.mouseh.baseDown(eve)


class KeyHandler

      @mh.placingLink.endpoint[0] = ixs[0].object.userData
      @mh.placingLink.ep_ifx[0] = ifname
      @mh.placingLink.endpoint[0].links.push(@mh.placingLink)

      ixs[0].object.lines.push(@mh.placingLink.ln)

      @mh.sv.container.onmousemove = (eve) => @handleMove1(eve)
      @mh.sv.container.onmousedown = (eve) => @handleDown1(eve)
    else
