Linked-list struct has been fixed.