Fix the linked-list

Bug fix the linked-list