Fixed issue with LinkedList