fix bug when newItem to some position