fixed syntax issues with list_entry macro