             i = d3.interpolate({startAngle: d.startAngle,endAngle: d.endAngle},{startAngle: 2 * Math.PI,endAngle: 2 * Math.PI})
             return (t) -> 
                 b = i(t)
-                return @arc(b)
+                return arc(b)
         )
         .remove()
 

      @arc b

  update: (dataSet) ->
    console.log 'update pie', dataSet
    that = this
    @piedata = @pie(dataSet[0].value)

            i = d3.interpolate({startAngle: 0, endAngle: 0}, {startAngle: d.startAngle, endAngle: d.endAngle})
            return (t) -> 
                b = i(t)
                return arc(b)
        )

    #@path.exit().transition().duration(300).attrTween('d', that.removePieTween).remove()
