Fixed bug in double link list