fixes for linkedList