draggable + sortable bug?

draggable + sortable bug?

i used this as exemple from the jquery ui example and the 
connectToSortable

When I drag an item to a list from the #draggable list to one of the .sortable list
I want to edit the li item.

ui.item refers to the li in the #draggable list
I need ui.helper to edit the li item, but with console.log(ui) helper seems to be null

I can not refer to the new li item in one of the .sortable list and edit it ?

is this a bug or how can i refer to the li when its dragged into a .sortable list?

------------
<script>
$(function() {
$( ".sortable" ).sortable({
revert: true
});
$( "#draggable" ).draggable({
connectToSortable: ".sortable",
helper: "clone",
revert: "invalid"
});

});
</script>



<div class="demo">

<ul>
<li id="draggable" class="ui-state-highlight">Drag me down</li>
</ul>


































<ul class="sortable">
<li class="ui-state-default">Item 1</li>
<li class="ui-state-default">Item 2</li>
<li class="ui-state-default">Item 3</li>
<li class="ui-state-default">Item 4</li>
<li class="ui-state-default">Item 5</li>
</ul>






<ul class="sortable">
<li class="ui-state-default">Item 1</li>
<li class="ui-state-default">Item 2</li>
<li class="ui-state-default">Item 3</li>
<li class="ui-state-default">Item 4</li>
<li class="ui-state-default">Item 5</li>
</ul>








</div><!-- End demo -->