fixed logic in list linkage