dlinkedlist bug fix