fix a linked-list segfault