Fixed LinkedList bug