fix read to linked list