cleanup link and list