minor cleanups (traits) of patching linkedlist code