remove linkedlists of trails