bug in the linkedlists macros where the prev node