fix bug: in resize function:new node,set next=0